
-- 所有mysql 配置都放在这里，统一管理，其他文件都通过
-- local ns_mysql_config =  require( 'modules.commhm.config.mysql_config{环境id} }' ) 来引用

local ns_config = {
	_VERSION = '0.12.1',

	db_rank        = { host='172.16.0.70', port=3306, user='mmog', password='8t8MSsrQczhP2d@ICMuk5', database='db_rank',  },
	account        = { host='172.16.0.70', port=3306, user='mmog', password='8t8MSsrQczhP2d@ICMuk5', database='account',  },
	player_posting = { host='172.16.0.70', port=3306, user='mmog', password='8t8MSsrQczhP2d@ICMuk5', database='player_posting',  },
	db_map         = { host='172.16.0.70', port=3306, user='mmog', password='8t8MSsrQczhP2d@ICMuk5', database='db_map',  },
	db_cm          = { host='172.16.0.70', port=3306, user='mmog', password='8t8MSsrQczhP2d@ICMuk5', database='db_cm',  },

	--db_comment   = { host='172.16.0.70', port=3306, user='mmog', password='8t8MSsrQczhP2d@ICMuk5', database='db_comment', },  --same as db_rank

	minibdp_label_11 = { host = 'gz-cdb-be4t3elj.sql.tencentcdb.com',  port = 60909,
						 user = 'map_servers_rd',    password = 'Map&^%$Serv0821',  database = 'minibdp_label_11',  },

	opadmin = {  host= 'gz-cdb-4hakaxor.sql.tencentcdb.com',   port = 60866,
				 user= 'opadmin',    password = 'ngL@1yzj#2N',  database = 'opadmin',  },

}


--[[
local ns_config = {
	_VERSION = '0.12.1',

	db_rank        = { host='10.240.17.2', port=3306, user='mmog', password='mmog', database='db_rank',  },
	account        = { host='10.240.17.2', port=3306, user='mmog', password='mmog', database='account',  },
	player_posting = { host='10.240.17.2', port=3306, user='mmog', password='mmog', database='player_posting',  },
	db_map         = { host='10.240.17.2', port=3306, user='mmog', password='mmog', database='db_map',  },
	db_cm          = { host='10.240.17.2', port=3306, user='mmog', password='mmog', database='db_cm',  },

	--db_comment   = { host='10.240.17.2', port=3306, user='mmog', password='mmog', database='db_comment', },  --����db_rank

	minibdp_label_11 = { host = 'gz-cdb-be4t3elj.sql.tencentcdb.com',  port = 60909,
						 user = 'map_servers_rd',    password = 'Map&^%$Serv0821',  database = 'minibdp_label_11',  },

	opadmin = {  host= 'gz-cdb-4hakaxor.sql.tencentcdb.com',   port = 60866,
				 user= 'opadmin',    password = 'ngL@1yzj#2N',  database = 'opadmin',  },
}
--]]

return ns_config;

